package com.luoqiuy.poet.service;

import com.luoqiuy.poet.entity.*;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

public interface AuthorService {

    int authorLogin(HttpServletRequest request,Author author);

    void logoff(HttpServletRequest request);

    int regist(String regNumber, String regPassword, String ensureRegPassword, String regEmail, String birDay,
               String gender, String phone, MultipartFile headImg, Constellation constellation, Zodiac zodiac,
               HttpServletRequest request, String regName);

    int ensure(HttpServletRequest request, String ensureCode);

    void visit(HttpServletRequest request, int goalId);

    void contactMe(Contact contact);
}
